-
Notifications
You must be signed in to change notification settings - Fork 129
Document how to change OpenSSH default port. #262
Conversation
This commit documents how to change the OpenSSH port on Clear Linux*. Clear Linux* enables an `sshd.socket` systemd unit, which listens in port 22 by default. This commit fixes #261 Signed-off-by: Simental Magana, Marcos <marcos.simental.magana@intel.com>
Reviewed for technical content. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great addition @mrkz ! I identified a few formatting changes. Also, I'd like to break out the instructions into a few more steps. I will commit my recommendations for your review.
# systemctl restart sshd.socket | ||
SFTP |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update section heading to: "Enable SFTP"
Update underline to use *
|CL| enables the `sshd.socket` unit, which will listen on port 22 by default and | ||
start the openssh service as required. | ||
|
||
Change Default Port |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update section heading to: "Change default port" (use sentence case)
Update underline to use *
In order to change the default listen port for the OpenSSH\* service, perform | ||
the following steps: | ||
|
||
#. Edit the sshd.socket unit file, provide the `ListenStream` option in the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clarify steps - each # should be one action/step only. Provide appropriate snippets /example commands so the reader can copy/paste.
…ion. Updated heading text for clarity. - Update first CL reference to use CL-ATTR. - Break out first steps in Change default port section to be one step per #. - Update code-block command examples to use bash style. Separate the example commands from the example output. - Remove prompt # from example commands (per guidelines). - Minor capitalization and grammar edits. Signed-off-by: Kristal Dale <kristal.dale@intel.com>
@mrkz - please review my commit to your branch. Your content is there, I just expanded it into a couple of additional steps, and made some reST/Sphinx syntax changes. |
Signed-off-by: Kristal Dale <kristal.dale@intel.com>
@krisdale content remains accurate after your changes, so this looks good to me. 🎉 |
I cannot find for the life of me this page published on the Clear Linux documentation website... can anyone give me a pointer to it? |
Hi @gvancuts. Unlike many Linux distros, Clear Linux OS ships as stateless, with a mostly empty |
I'm aware of all this. We used to have a page on the Clear Linux documentation website that explained how to tweak the |
@gvancuts. Is this the document you were seeking? This includes X11 forwarding. |
Yes, that's the one. It used to be published on the website but I now noticed you removed them on October 23rd: a155322 I found the |
This commit documents how to change the OpenSSH port on Clear Linux*.
Clear Linux* enables an
sshd.socket
systemd unit, which listens inport 22 by default.
This commit fixes #261
Signed-off-by: Simental Magana, Marcos marcos.simental.magana@intel.com